package com.account.util;

public class BaseResult<T> {
  /**
   * 返回结果
   */
  private T data;

  /**
   * 状态code 默认0：成功；
   */
  private int code = 0;

  /**
   * 状态消息
   */
  private String message;

  public T getData() {
    return data;
  }

  public void setData(T data) {
    this.data = data;
  }

  public int getCode() {
    return code;
  }

  public void setCode(int code) {
    this.code = code;
  }

  public String getMessage() {
    return message;
  }

  public void setMessage(String message) {
    this.message = message;
  }
}
